﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using enqueteJwVd.DAL;

namespace enqueteJwVd.Services
{
    public class QuestionTypeService : IQuestionTypeService
    {
        private UnitOfWork unitOfWork;

        public QuestionTypeService()
        {
            unitOfWork = new UnitOfWork();
        }

        #region IQuestionTypeService Members
        public List<QuestionType> GetAllQuestionTypes()
        {
            return unitOfWork.QuestionTypeRepository.GetAll().ToList<QuestionType>();
        }
        #endregion

    }
}